class Solution {
    public String reverseLeftWords(String s, int n) {
        int length = s.length();
        if(n >= length) {
            return s;
        } 
        String s1 = s.substring(0,n);
        String s2 = s.substring(n,length);
        return s2+s1;
    }
}